package com.migo.service;

import com.migo.entity.ShOrderInfoEntity;
import com.migo.view.ShOrderInfoView;

import java.util.List;
import java.util.Map;

/**
 * 
 * 
 * @author powervision
 * @email wes.wang@powervision.me
 * @date 2018-12-05 14:33:09
 */
public interface ShOrderInfoService {
	
	ShOrderInfoEntity queryObject(Integer id);

	ShOrderInfoEntity queryOrderId(String orderId);
	
	List<ShOrderInfoEntity> queryList(Map<String, Object> map);

	List<ShOrderInfoEntity> queryUserOrderList(Map<String, String> map);
	
	int queryTotal(Map<String, Object> map);
	
	void save(ShOrderInfoEntity shOrderInfo);

	void updateAddress(ShOrderInfoEntity shOrderInfo);
	void updateUserReceiving(ShOrderInfoEntity shOrderInfo);

	void update(ShOrderInfoEntity shOrderInfo);
	
	void delete(Integer id);
	
	void deleteBatch(Integer[] ids);

	ShOrderInfoView queryObjectById(Integer id);
}
